﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using wisdom_logistics.Enum;
using Volo.Abp.Domain.Entities.Auditing;

namespace wisdom_logistics.Entity
{
    public class Freighttrack:AuditedAggregateRoot<Guid>
    {
        //合同编号
        public string FreighttrackNoid { get; set; }
        //合同标题
        public string ContractTitle { get; set; }
        //货主单位
        public string Ownerunit { get; set; }
        //货主负责人
        public string Ownerprincipal { get; set; }
        //线路
        public int Circuites { get; set; }
        //吨位价
        public decimal Tonnageprice { get; set; }
        //包车条件吨位
        public int Charteredbustonnage { get; set; }
        //包车金额
        public decimal Charteredbusprice { get; set; }
        //签订日期
        public DateTime ContractDate { get; set; }
        //经办人
        public string Responsibleperson { get; set; }
        //创建时间
        public DateTime CreateTime { get; set; }
        //货物状态
        public FreightState Status { get; set; }
        //异常报警
        public int Abnormity { get; set; }
        //货主外键
        public int OwnerId { get; set; }
        //路线外键
        public int CircuitId { get; set; }
    }
}
